make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Mon, 23 Aug 2021 19:31:23 +0000 (20:31 +0100)
committerAurelien Jarno <aurel32@debian.org>
Mon, 23 Aug 2021 19:31:23 +0000 (20:31 +0100)
commit22ffeff289497700faaf7eddbba0968643630cb0
tree0c9b7002cf4283488f461e754654dacb95f52e9b
parente8affe0dc207ab53240a52ef7d1224582d97c733
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c